% MasterProgram.m
%
%  Master program to generate the results in
%  "Recipes and Economic Growth: A Combinatorial March Down an Exponential Tail"

clear all; 

%path('ChadMatlab:',path) % For replication; use 'pathreset.m' to clean path
% Make sure all relevant files are in path
curpath=path;
if isempty(strfind(curpath,'ChadMatlab')); % | isempty(strfind(curpath,'Work/procs'));
    if exist('ChadMatlab')==7; 
        curdir=pwd;
        path([curdir '/ChadMatlab'],path); 
    end; 
end;

% * Figure 1: Patents Granted by the U.S. Patent and Trademark Office - patents.eps
patents

% * Figure 2: Breakthrough Patents from Kelly et al (2021)   - kpst_breakthrough.eps
kpst_graphs

% * Figure 3: U.S. Patent Growth by Technology Class, 1950–1990   - PatentFigures_Growth1990.eps
PatentFigures

% * Figure 4: Annual Academic Publication Counts, 1970–2020   - PublicationCounts.eps
PublicationCounts



